#ifndef FIREWORKMANAGER_H
#define FIREWORKMANAGER_H

#include <stdint.h>
#include <chrono>
#include <memory>

#include <vsg/nodes/Switch.h>

#include "Firework.h"

class FireworkManager {
public:
	void setFireworkCount(uint8_t fireworkCount);
	void update(std::chrono::nanoseconds delt);
	vsg::ref_ptr<vsg::Node> getNode();

private:
	uint8_t m_fireworkCount{ 0 };
	std::vector<std::shared_ptr<Firework>> m_fireworks;
};

#endif
